Understanding init.vim commands

command: au filetype vimwiki !silent iunmap <buffer><CR>

The au filetype vimwiki command is an autocmd (auto command) in Neovim. It's used to define an auto command that triggers when a buffer's filetype is set to "vimwiki." In this specific case, it's setting an autocmd for VimWiki files.

Let me break down the command:

The purpose of this autocmd is to customize the behavior of the Enter key specifically for VimWiki files. In VimWiki, pressing Enter often triggers actions related to creating or navigating through links within your notes. This autocmd effectively disables the default behavior of the Enter key within VimWiki buffers.

If you want to re-enable the default behavior of the Enter key or map it to a different action in VimWiki files, you can modify this autocmd accordingly.